package com.medical.controller;

import com.medical.pojo.RepairQuotation;
import com.medical.service.RepairQuotationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("repairQuotation")
public class RepairQuotationController {

    @Autowired
    private RepairQuotationService repairQuotationService;

    @RequestMapping("/findAll")
    public List<RepairQuotation> findAll(Integer id){
        return repairQuotationService.findAll(id);
    }
}
